package com.ark.cloud.java.persistence.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Copyright(c): 2021 Cloud-Ark Inc.
 * Author(s): Ma Wei (mawei@cloud-ark.com)
 */
@Data
@TableName("lua_cmd_reply")
@Builder
@AllArgsConstructor
@NoArgsConstructor

public class LuaCmdReply {
//    @TableId(type = IdType.AUTO, value = "id")
    private Long id;
    @TableField("timestamp")
    private String timeStamp;
    @TableField("cmd_id")
    private String cmdId;
    @TableField("succeed")
    private boolean succeed;
    @TableField("error")
    private String error;
}
